#ifndef MACH_BASE_H
#define	MACH_BASE_H

#ifdef CONFIG_BOARD_PI3B
#define PBASE 0x3F000000UL
#define ARM_LOCAL_BASE 0x40000000UL
#define PBASE_END 0x41000000UL
#elif defined(CONFIG_BOARD_PI4B)
/* Main peripherals on Low Peripheral mode
 * - ARM and GPU can access
 * see <BCM2711 ARM Peripherals> 1.2.4
 */
#define PBASE 0xFE000000UL
/*
 * ARM LOCAL register on Low Peripheral mode
 * - Only ARM can access
 * see <BCM2711 ARM Peripherals> 6.5.2
 */
#define ARM_LOCAL_BASE 0xff800000UL
#define PBASE_END 0x100000000UL
#elif defined(CONFIG_BOARD_AARCH64_VIRT)
/* qemu virt aarch64 */
#define ARM_LOCAL_BASE 0x08000000UL
#define PBASE 0x08000000UL
#define PBASE_END 0xa0000000UL
#else
#error no suppprted board!
#endif

#define DEVICE_SIZE 0x2000000

#endif  /*MACH_BASE_H */
